<?php
/* SVN FILE: $Id$ */
/* RpReporte Test cases generated on: 2009-07-24 08:07:22 : 1248441442*/
App::import('Model', 'RpReporte');

class RpReporteTestCase extends CakeTestCase {
	var $RpReporte = null;
	var $fixtures = array('app.rp_reporte');

	function startTest() {
		$this->RpReporte =& ClassRegistry::init('RpReporte');
	}

	function testRpReporteInstance() {
		$this->assertTrue(is_a($this->RpReporte, 'RpReporte'));
	}

	function testRpReporteFind() {
		$this->RpReporte->recursive = -1;
		$results = $this->RpReporte->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('RpReporte' => array(
			'id'  => 1,
			'descripcion'  => 'Lorem ipsum dolor sit amet'
			));
			$this->assertEqual($results, $expected);
	}
}
?>